Fixing #1497 and expanding get_input to handle floats and booleans autom...

...atically.