added a missing comma, altered the way options work in terms of getting the current plugin state