Completed scoping, somewhat tested. Still have not fully tested
validation.
ALSO: updated GUI, output now prints to GUI window.