Call all the functions in the main.

And fix silver_warning() by calling warning() not error().

Signed-off-by: Thiago Farina <tfarina@chromium.org>