Removed any FT312D dependancy, added closed loop feature