Reformatting
Adding missing depends info
Make block rendering depend on a valid command object
Change the hard-coded line count to 50 as most stack traces are longer than 30 lines
Fix formatting of log output
Use passed log/command info
Helper to simplify getting/setting current log/command in registry
Rewrite to use a single action entry point with GET/POST specific behaviour