Hehe that could be the smallest plugin ever
Edit: Just thought I would add this. It's probably better to use keyboard shortcuts for this as opposed to a GUI. Because using a GUI by definition will create an extra step. The player will have to open the GUI to open pnb or ap. With a keyboard shortcut (I've just used F keys in my example) the player can get straight to pnb or ap - and isn't that the objective?
I agree with the hot keys instead of gui. Finaly understand what red was talking about with the command event, still learning. As for smallest plugin. I just made one just to enable the mouse pointer for stuck open gui's.