bug fixes, and print style setup for report