Minor stylistic cleanup.
Refactor window_event_tap a bit.
Remove build.sh, add ninja build file.