Fixed some display bugs
snprintf probably doesn't support floats on this platform