Fixed bug that caused the form to crash because part of the custom GLControl was serialized