Cleanup settings and printing