refactor MapState
refactor sounds loading
refactor project (change tabs to 4 spaces, change CRLF to LF, remove warnings)