code cleanup
rename and reorg
rename for consistency
remove redundant variable declarations
better naming
minor tweak to display 'no tile' msg correctly
rename toHexString and move
remove _initialExtent var
check for file api support
add check for DataView