implemented FW version differentiation, fixed offsets for FW1030, some minor fixes