More code/doc cleanup for general-functions.php