Return 1 from main on error, not false.

Implicit casts strike again...
Drop unused import.