Adding some const. AppManager now not static.

Also changed header guards to "#pragma once" because it's a little bit neater and I like them.