Add preliminary debug stub.
Rename bind to bindframe for clarity.
Merge pull request #23 from PencilCode/debug

Add preliminary debug stub.