Code

Added the ability to toggle where error messages go.