Removed/replaced dead instances
Changed openloginbox()
Now uses setVisible(false) instead of dispose.