Merge pull request #116 from greboid/master

Make getActiveFrame optional.
Make the connected logic a bit cleaner.
Switch to a one-liner for connected boolean.
Merge pull request #117 from csmith/master

Make the connected logic a bit cleaner.
Use appropriate methods in exec plugin.