Added loadFragment option to tabs
Improved unit conversion functions