Fixed a variety of errors that have been generated over time. Made wave
spawn units now.