update controller.py to establish a KEY floor value
better error message with actual values
Merge pull request #116 from bear/patch-1

update controller.py to establish a KEY floor value