Added basic sound support. Cleaned up and added more general comments.