removed global variables + fixed shops not being able to be broken

Removed all global variables.
Fixed bug [ticket 39] shop chests not being able to be be broken after
the sign is removed.