On options change set 'clearMap' flag instead of direct clearAndRedraw
theme tweaks
add utility function to get tile by index
cleanups + notes
use linear filter for stipple texture
limit maximum scanlines to bbox
set mCurLayer null on clear