QueryManager + fixes

I copied FYS.getQueryManager().<method> from AppMan_NewAccount but I get
a "AWT-EventQueue-0 java.lang.NullPointerException" everytime Java runs
into the line where we use that.