IPartListener written -- still need to move logger code there