Manual formatting (mainly, added braces to conditionals and splitted some long lines); added $msg_class helper variable to improve readability in function html() within FormSimple.php