Fix 'undefined' error when closing tiles
Fix embed disappearing url from settings error
add support for tile-type-specific css