Added javadoc to StatListener.java, more config support, probably other stuff