front: Fix resource leaks and quick abort on asset extraction failure.