Not sure if this has been mentioned before, but couldn't find it in this long thread.

All the side boxes are missing a closing tag of this line
Code:
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '"
so I added this to all the sideboxes in this mod

Code:
  $content .= '</div>';