further bug fix for retina

expands the text overlay divs for hi res displays
some refactoring
added tokenizers
merge

merged extra bugfix for retina