Bugfix and error catching

Fixed a bug that meant a warp wouldn't be 100% deleted. Also added error
checking to make sure a warp exists or doesn't before creating /
deleting one.