Merge pull request #49 from ethomson/init_shutdown

Init shutdown
Actually prototype the function declarations

I was kicking it old, old, incredibly old school and clar
punished me.