Fixed sequencing of tasks on server

stopped (but didn't economize) screen flicked when someone else loads
the page.