Fixed some backslash escape issues

"\\\\\\\\" who'd have thought?
Also covers user input so backslashes are escaped properly.