reorder functions; trigger frame capture on tracking refresh