1. Turned code into small scripts (mostly)
2. Bug: Few particles are drawn outside the map.