minor cleanup

This just cleans up the code and adds some dependencies for offline work.

Visuals are completely the same.