Added usage info and maybe fixed a syntax warning message.