Move functions to autoload file.
Only initialize unstack_signs if it's unset
Use "extractors" instead of lists of regexes. Lots of cleanup.

Fixes #4