added comments for constant values
renamed java UI element variable names to identify their type more easily