Initial implementation of threads; also fixed leftover Git crud found in ListenerThread.java