added graphics to shop.lua and fixed many bugs