Delete per window GL context for Cocoa and just swap the view instead

This unfortunately re-introduces undesirable rendering behaviour for
slow renderers (e.g. first gen Intel HD graphics/Apple software
renderer) when the property window is open, but fixes property window
preview rendering for sufficiently fast renderers
Use bzalloc instead of bmalloc+memset