Changes to attempt making a sensible glasspane work as intended, attempt to make it work, but to no avail. Hotfix added in 'MyGlassPane''s paintComponent method, to cope with issue for now.
fixed slight conflicts