--- untitled
+++ (clipboard)
@@ -32,7 +32,10 @@
  *   screen.
  */
 function single_user_blog_profile_tasks() {
-  // Insert blog user-defined node types into the database.
+  /*
+   * Pages are used for about me kinds of things,
+   * and Blog posts are used as entries to the blog
+   */
   $types = array(
     array(
       'type' => 'page',
@@ -53,12 +56,15 @@
       'locked' => FALSE,
     ),
   );
-
+  
+  /*
+   * Save the node types
+   */
   foreach ($types as $type) {
     $type = (object) _node_type_set_defaults($type);
     node_type_save($type);
   }
-
+  
   // Default page to not be promoted and have comments disabled.
   variable_set('node_options_page', array('status'));
   variable_set('comment_page', COMMENT_NODE_DISABLED);
@@ -120,25 +126,46 @@
 }
 function single_user_blog_install_finalize_submit($form_values, $form, &$form_state) {
   global $user;
+  /*
+   * Set site settings
+   */
   variable_set('site_name', $form_values['site_name']);
   variable_set('site_slogan', $form_values['site_slogan']);
   variable_set('site_mail', $form_values['site_mail']);
   variable_set('date_default_timezone', $form_values['date_default_timezone']);
   
+  /*
+   * Set the role to authenticated user, not blocked, and set init to mail
+   */
   $form_values['account']['roles'] = array(3 => 3);
   $form_values['account']['status'] = 1;
   $form_values['account']['init'] = $form_values['account']['mail'];
+  /*
+   * The admin user has the site e-mail address,
+   * the username 'Administrator', and the users's
+   * password.  This is because many functions of
+   * user #1 may be confusing to the user
+   */
   $admin = $form_values['account'];
   $admin['name'] = st('Administrator');
   $admin['mail'] = $form_values['site_mail'];
+  /*
+   * The blog user, however follows everything the user entered
+   */
   $blog_user = $form_values['account'];
   user_save('', $admin);
   $account = user_save('', $blog_user);
+  // Log user #2 in
   user_authenticate($account->name, trim($blog_user['pass']));
+  
+  // Dissallow user registrations
   variable_set('user_register', 0);
+  
+  // Disable clean URLs
   if (isset($form_values['clean_url'])) {
     variable_set('clean_url', $form_values['clean_url']);
   }
+  
   $form_state['redirect'] = 'finished';
   $form_state['user'] = $user;
 }
