Added notifications feature, fixed bugs.