Build 4

- more work on credit spawning (very basic)
- lots of cleaning up