prevent flicker.
show errors in page.
some refactorings, better timeout error message.
error msg is pink instead of salmon.