Code cleanup, started work on a new sound system. Not ready for
production yet, but the deprecated system is still in place.