Fix fancy textboxes, impove calendar even more

Repost vars in login screen so that they don't get lost (useful when
saving an article you had worked on for a long time, so that your
session was expired).