Added rudimentary GUI support.