updates for new graphics, added resourcemanager