Refactored the tightly coupled chat input field into a generic text field module. Still needs a little cleaning up, but is functional.