More state work. Camera func. Inv. dblclick bug

General flowing through states and state control functionality and
testing. Added minor CenterOn camera convenience function. Fixed every
click being double click bug in inventory (duplicate call to input).