Fix for display items under halfsteps
Safe deletion of invalid shops
Small hash optimization
Minor optimization