More code cleanup and documentation for admin-functions.php
Code cleanup and documentation for general-functions.php