added errormessage.java
gui changes