I got past a lot of motivational crysis and now i can manage myself quite well.
The most firm boss is yourself.
My dad keep me saying that.The worst insult is to have low self-esteem.
Thinking of what you have done positively, or keeping a good hobby is a good thing.
I agree that demos spoil out the wow effect, but talking of new features helps to keep tension high!
I often release demos of my games, but only when i get on hand a brilliant feature ready to implement.
I actually published on Stencyl only one scene and 5 actors, while i coded 7scenes and 98 actors.
I usually don't make myself 'deadlines' because i still know very little of flash.
Viceversa i'm quite strong on myself when i recode something i already did/i know perfectly how to do.
When i feel tired or 'stunned' by a problem, i usually take a 15min break by doing something else, like playing piano, kung fu or crafting little objects.
Folklore note:in Italy everyone who works with a computer(and stencyling is 'work') is forced to take a break of 15min every 2hours.In that break the person must do an alternative activity decided by his boss(except working with another computer), or if not specified, at his choice, except sleeping and within the limits of other restraints.
Funny thing is that also students and computer players have to follow this law!
Take programming as a sport!
If you are new train yourself and ask about rules.
Make first matches in a friendly environment,
Then start to make goals, break records and help others!