updates to main.cpp for bitcoin 0.9.0 code changes