implemented missing GUI functionality and improved layout