Split out controller and simple funcitons

Also, remove "virtual" render mode, since this did not work very well
and render mode "scroll" has better performance with the same load time.
Add min/max limits to progressIndicator, calc percentages
Bla