Couple of bugfix and robustness fixes; build.gradle refactoring
Added more echoing and forcing of threadFilter on threadProps