Cap window size, fix bug in OLD_PROTOCOL=1, add mFX6:36 tile support