Code cleanup, patch for #14

Cleaned up the code a bit. Fail gracefully if the interface found not working properly (venet0 in my OpenVZ instance was detected but no such interface exists/if configured)

Fixes #14