fixed some more bugs

Added all events to start event, fixed open, new, saveas, exit and
window minimizig issuses