fixes for scrolling, fix for double-refresh, misc stuff