Made close button clean up labels and global variables
a little better.  Diary actually gets nulled out
added licenses for libs and this project itself