Fixed input line, some listener glitches, display invalid input error in
message line