Check for active project before getting it's name.
Merge pull request #201 from hmaddocks/fix_crash_in_PolycodeFrame_handleEvent

Check for active project before getting it's name.
Added virtual to UIWindow destructor

Fixes issue #198. See http://stackoverflow.com/questions/461203/when-to-use-virtual-destructors
Fixed screen root entity being adjusted by default, fixed image alpha premultiplication
Merge branch 'master' of https://github.com/ivansafrin/Polycode
Merge pull request #206 from CIB/cleanup

Added virtual to UIWindow destructor
Added a flag to renderer to treat normal blending as premultiplied, made the screen entity size default to 0 instead of 1
Merge branch 'master' of https://github.com/ivansafrin/Polycode
Fixed collision only entity not setting rotation correctly
Fixed point collision examples
Color picker no longer jitters/resets when you change values, fixed offset on click in color picker SV area
Fixed hue selector click offset in the color picker
Added ability to close open files in the IDE, UIComboBox now resets selected name to None on clearItems(), fixed sprite editor not setting height properly on load
UI Module classes will not delete children if ownsChildren is set to true, added setOwnsChildrenRecursive method to Entity, cleanup when closing screen editor, font editor and image editors in the IDE, fixed some memory leaks
Removed addDropShadow from ScreenLabel