Fixed sound and time bugs.