Added ability to save pastes, including error checking of options and redirection on success.