minor cleanup and commenting
show errors in notifications, minor changes

fixes #75
closes #38