Simplify Person box drop down menu functions

Remove all references to $personcount...

.. and handle knock-on effects