lunatic: update print function with better formatting and details