Add adjusting topic to allow for tweaking the open/close endpoints. Improved the state handling/transitions so that it will only change states when IDLE.