preload pageOffsets pageNames
add indexofsorted
use stack to keep tag
fixes for workshop