stats: fix IE being a bitch as always, also minor style tweaks