Remove old, cruft function. Add access function for the editor tab.
Travis points out my flaws.
Minor fixes/code style.
Use the built in API instead.
More changes based upon code review.
Merge pull request #38 from jordandukart/7.x

Remove old, cruft function. Add access function for the editor tab.