Add test code in main loop
Add test code in main loop

I'm kind of in the middle of using this stuff, but it works and i want
to get everything pushed up to remote master so I'm going ahead and
commiting it for now. I'll pull it out when I write the main control
loop stuff (after the sound).

voodoodemon/TheFlyingMagicCarpet,voodoodemon/TheFlyingMagicCarpet