adding SRAM detection routine, and new options. SRAM read not yet functional.