Updated cfg-viewer, unscheduled added

Everything updated, now can deal with unscheduled mode. Merged handling of scheduled and unscheduled. New internal data processing of js and json.