Addition to free all resources, proprly turn off sound if requested

Version: 1.alpha.10.03

Signed-off-by: GreatEmerald <pastas4@gmail.com>