improved warning (warndlg --> warning)
added beep when error
updated documentation