* change State to active and make it BOOL since it's only got two used values * fix some typos in the documentation