Fix reload bug, improve errors.
Support sandbox.
Update todos.