GUI Updated again.
added colour coding to GUI: red field = directory doesn't exist/no query entered,
green: all good. Also some try/catch and exceptions that don't work.