fixed log message, added implementation for removeFromSuperview that uses shared_from_this
added WindowResizeEvent, added double buffering to avoid dropping events that were queued after processing ends, but before a returnAll() of the same frame.