Refactored (out) input component.
Fixed bug with display colours on Linux.