added speed modifier and associated sound fixes, also cleaned up some code