Reorganized some code
A number of small perf changes
Removed some refreshing code
removed more refreshing code
deleted refresh code
deleted tons of unused code, a ton of format mods