adds texture resource to window class
updates main program for graph test
renames window::text_resource to text_resources
modifies resource::map::release to allow empty remove