updated GUI and JavaDoc