Clean code

* Remove IDE generated template annotations
* Remove unused flask base
HUD+popups now working
Graphics operational
add missing documentation
minor fixes