Sorted bug in the dynamic hash map update causing access errors

Also added additional debug controls:

* s  = toggles step update (only iterates for a frame)
* p  = draw particles
* v  = draw velocity
* g  = draw grid
* {}  = decrement/increment velocity scale
* +- = zoom
* ' '  = (spacebar) run