fixed a sizing issue that happen in ubuntu
made the main automatically optimize java (if users do not like this then give me a poke on github or the runescape forums and i will add an on/off switch to the settings)