Added shutdown and error melody.
Modified sound program structure.
Simple implementation for error handling.