moved to more logical location, fixed non-printing characters in prompt