Fixed some bugs and began sound implementation.