Fixed problem with Eclipse crash when closing AST viewer window + Minor refactoring