Fix for #17, checks and alerts on permissions.

Although not running as root is clearly a user error, it triggers an assertion and doesn't alert the user why. It then appears to go unresponsive.

This small patch fixes #17 and causes it to alert the user and fail cleanly.

As an aside, thank you for this project.