Fixed display line bug.
Added formatting for getstat command.