Fixed history parser bug - options were not cleared and _halt wasn't
true