add animated GIF support
added a little sanity to some control code
added wave support to BeatServer