Merge pull request #39 from d-j-a-y/master

Fix - Playing animation, hitting ALT= segfault!
Fix - Sometime, hitting something around docks = segfault!
Keyboard event dispatch , test focused_widget != NULL before use it.