Fix formatting, some typos and now using QString::contains() in checkProblemticPathJava()