EventThread: Simplify user event handling
autotiles.cpp: Fix subrect pattern for indices 23 and 46

Fixes #51.