fixed some bugs with the ft/in button.
fixed other small bugs