Fix some error handling

Pass "handle" instead of "this" in a location.

Alert instead of fail on several errors.
Now working on 0.1.3