Fixing bugs in the OWLQN code.