diff --git a/menu_expanded.info b/menu_expanded.info
index 76d339f..3bfa2a3 100644
--- a/menu_expanded.info
+++ b/menu_expanded.info
@@ -1,6 +1,7 @@
 name = Menu Expanded
-description = <a href="">Menu Expanded</a> restores the expanded checkboxes on the menu link list pages, enabling you to quickly set a menu item to expanded without entering the edit link for each menu item. 
+description = Menu Expanded restores the expanded checkboxes on the menu link list pages, enabling you to quickly set a menu item to expanded without entering the edit link for each menu item.
 package = Administration
 core = 7.x
 
-files[] = menu_expanded.module
\ No newline at end of file
+files[] = menu_expanded.module
+
diff --git a/menu_expanded.module b/menu_expanded.module
index 63bd871..a621fbb 100644
--- a/menu_expanded.module
+++ b/menu_expanded.module
@@ -1,12 +1,13 @@
 <?php
-
 /**
- * @file restore "expanded" checboxes on menu item lists
+ * @file
+ * Restore "expanded" checkboxes on menu item lists.
  */
 
 /**
- * Implementation of hook_theme
- * add in custom theme function for menu overview form
+ * Implements hook_theme().
+ *
+ * Add in custom theme function for menu overview form.
  */
 function menu_expanded_theme($existing, $type, $theme, $path) {
   return array(
@@ -17,13 +18,14 @@ function menu_expanded_theme($existing, $type, $theme, $path) {
 }
 
 /**
- * Implementation of hook_form_FORM_ID_alter()
- * Add in expanded checkbox on menu_overview_form
+ * Implements hook_form_FORM_ID_alter().
+ *
+ * Add in expanded checkbox on menu_overview_form.
  */
 function menu_expanded_form_menu_overview_form_alter(&$form, &$form_state, $form_id) {
   $menu_items = element_children($form);
-  foreach($menu_items AS $mlid) {
-    if(substr($mlid, 0, 4) == 'mlid') {
+  foreach ($menu_items AS $mlid) {
+    if (drupal_substr($mlid, 0, 4) == 'mlid') {
       $menu_item = $form[$mlid]['#item'];
       $form[$mlid]['expanded'] = array(
         '#type' => 'checkbox',
@@ -34,12 +36,11 @@ function menu_expanded_form_menu_overview_form_alter(&$form, &$form_state, $form
       );
     }
   }
-  // alter the theme and submit functions to handle our use case.
+  // Alter the theme and submit functions to handle our use case.
   $form['#theme'][0] = 'menu_expanded_menu_overview_form';
   $form['#submit'][0] = 'menu_expanded_overview_form_submit';
 }
 
-
 /**
  * Submit handler for the menu overview form.
  *
@@ -86,7 +87,6 @@ function menu_expanded_overview_form_submit($form, &$form_state) {
   drupal_set_message(t('Your configuration has been saved.'));
 }
 
-
 /**
  * Returns HTML for the menu overview form into a table.
  *
@@ -98,7 +98,6 @@ function menu_expanded_overview_form_submit($form, &$form_state) {
  */
 function theme_menu_expanded_menu_overview_form($variables) {
   $form = $variables['form'];
-  //dsm('menu_expanded_menu_overview_form called...');
   drupal_add_tabledrag('menu-overview', 'match', 'parent', 'menu-plid', 'menu-plid', 'menu-mlid', TRUE, MENU_MAX_DEPTH - 1);
   drupal_add_tabledrag('menu-overview', 'order', 'sibling', 'menu-weight');
 
@@ -150,4 +149,5 @@ function theme_menu_expanded_menu_overview_form($variables) {
   $output .= theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => array('id' => 'menu-overview')));
   $output .= drupal_render_children($form);
   return $output;
-}
\ No newline at end of file
+}
+
