added some javadoc comments
added listener for tree selection! BAM!