Added manual GLProfile shutdown to make sure that no JOGL threads are
left running.