start using fixed update time step in game loop
use a template function to request correct CSS
reorder some code around in template.go
eliminate some code dup by making a template map
use a type rather than bool for debug mode