Added exceptions.
Temporary commit
Fixed beep invocation