use varDebug throughout, start initial import testing, code cleanup