fix small errors

run.php missing semicolon
config.php change to +$config['mysandbox']
page.php incorrect use of object function
fix sandbox checks