indentation
remove direct calls to wp-load.php
replace custom dialog css with built-in dialog css to avoid conflicts

see http://wordpress.org/support/topic/why-does-social-connect-load-external-stylesheets?replies=1#post-5149583