Some work done.
Window event switching works, records command names, basic analyze command complete.
Fixed summarize command.
Added manual adjustments.