Separate refresh rate and frame speed.  Add hacky support for locally run arduino.cpp.  Minor cleanup.