Cleaned up code, Using GNote.java to run instead