Trace messages converted to Debug plus cleanup

Cleaned up Input stuff.
Converted all Trace messages to use Debug message for consistency.