Updated shop thread for functionality and bug fix

Also modified the loader program to load in quantities for inventories.