minor indentation fixes
Merge pull request #28 from darylc/xr_minor_fix

move some delayed output statements to immediate output statements