Added printer redirection, code cleanup