Updates to the plab monitor. Fixed a couple of bugs and created a separate libplabmon library module.