added JTextArea for displaying the errors that occurred during parsing
plus some small bug fixes