Name the action of "flushing _current".

It's a trivial function, but it gives a name to the logical operation.

Also, turn some helper methods into free functions.
Best to not clutter up the prototype, even with underscored methods.