Add hiding of main launcher frame

Added some code to hide the main launcher on launch
and to un-hide it on crash or quit
Fixed avatar heads not working correctly - fixes #297

Mojang accounts were not supported by the current system.
This workaround uses the display name (e.g. Spyboticsguy vs an email)
when accessing the api, allowing the image api to retrieve the avatar's
face.

Signed-off-by: Tristen Allen <spyboticsguy@gmail.com>
Corrected formatting on LauncherFrame.java

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Cleaned up the remembered login section a bit, making the password filled with PASSWORD and the Remember box checked if there is already a user remembered. This is to make it more clear that you are already logged in. Ideally we will just rewrite the login section to handle users better however.

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Added defaultCloseOperation of EXIT_ON_CLOSE to the main launcher frame

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Removed beta warning message and removed the url replacing mechanism converting /api/ links to /apiv2/ links, switching back to only /api/

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Set the launcher to remove yogbox and hackslashmine if they are installed

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Fixed login token structure, using validation and correct refreshing.

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Added a try/catch Exception e //Ignore to the migrate command

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Print the stack trace so I can still debug any migration errors potentially

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>