removed old inventory code and added post render hook
gun object now an instance again