Added sound thread and fixed some calls to sound module.
... forgot to commit Makefile and sound.h