refactored; eliminated wave.setWaveState()
refactored; reordered
selectParticle while paused working
added unselect particle, refactored dependency functions in wave to switches
added form number rounding, fixed a 'this' issue in switches