Various Bug Fix

admin_setting: session check bug fix
function.php: iframe redirect, sending mail
sendmail.php: bug fix