Tile extension for event handling is now implemented; several small bugs
have also been fixed.