Formatting and hlint.
Add sandbox finding function.
CmdLine loop changes.