To solve the problem of losing an important thought the program should have an adjustment for the purpose of quietly nudging the user out of his revery or thoughts. This would give the user a chance to save his work. Just a suggestion.
OpenID is service that allows you to log-on to many different websites using a single indentity. Find out more about OpenID and how to get an OpenID enabled account.