Refactor some utility functions

thenSuccess, eread, and moveLine(up|down) have been moved to Heth.Util