Factor out UI into roux
For debugging