correction action area detection
added correct window close events logic
readded movement events