Added error notifications rather than logging to a file. Closes #19 and closes #20.