Implemented new sound buffer system. Cleaned up as well.