Updated toon library to use active state in stead of programstate. Updated toonclient to reflect this. current_state renamed to active_state.