tidy

Remove AI slop from a branch and make its code easier to read. Use when asked to tidy or deslop code.