several fixes;
the Queen program runs without errors, but does nothing useful.