basic working implementation of environmental controls input mechanism

plus some bug fixes, documentation updates, etc.