flushing messges
whitespace cosmetics
global: $problems -> $error_messages
flush messages in login form
teaching survey: fix various problems, improve form