Minor fixes and warning cleanup.
Merge branch 'master' of github.com:carcara/v8
Bug fix on input handlers and logs added to error handlers.