moves state tracking var to private cat
adds additional debug logging for debugging UI state transitions
v3.3.5