Commit Briefs
simplify minibuffer/echoarea redraw
split the logic into two functions: one to render the echoarea and one to rendere the minibuffer (when it's active).
bugfix: allow editing minibuffer history
restore the current line, so the editing operations can actually modify the input buffer, instead of the history string.
move minibuffer-related fns to their own file
and a bit of foreshadowing... :)