fixed the error in Messages
fixed the help messages in Messages.java
some minor issues fixed