beginning/end of line navigation + cleanup