Added debug module, changed debugging to append output rather than clear, modified debug window appearance