changed closing behaviour in view. Hope, everything is alright
(changed this a while ago, but commited now)
show notification when coding errors occur