made web interpreter look nicer
optimizing failure handling and cleaning up