Notifications corrected, various bugs fixed.