Updated notification class

Javadocs, and an operating system check before displaying.