Switched to a faster logarithm function
UI improvements