Filament end management

How can I manage filament end? There is no “Pause” in the firmware, only “Abort”. So each time weigh filament on spool and put pause in slicer if possible?

http://smoothieware.org/stopping-smoothie

So you suggest add manually M600 to gcode plus some movement of printing head?
Any automation possible with slicer? Filament detection sensor recommendation?