Pidgin state file

Closes #18