Working plugin state, ready for binging back functionality