Switched the Window class from using std::weak_ptr for handles to the
Handler class. This meant reworking a bit of the WindowManager,
TextureManager and Texture classes in the process.

Next time... I do the same for the Texture class.