Fixed float conversion warnings, and made Delete remove character in front of cursor