Switch backend according to command line options
Added FPS counter