Created a hook for handling file-parse results.

This includes removal of the button-control variables.
Using proper hook technology for parse results.
Merge pull request #45 from abingham/parse_hooks

Parse hooks