Address some lifecycle issues with LwjglAWTCanvas

LwjglAWTCanvas has some lifecycle issues. This addresses some of them.