Added IROS13 Whelan's paper metric to choose frame to pass to fabmap, improved viewer and other minor improvements.