added error dialog for failure
small fixes
Merge branch 'pr/19'