Fixed all remaining issues; Error output redirection is working