fixed some bugs. added inventory boxes