Improved window management

ResourceManager renamed to TextureManager.
Texture references clearly separated for access purposes.
Window can now be statically accessed from the Application class. This
has removed constructor dependencies from several classes.