Fixed LC_ALL compilation
Added more checks to ensure that there are no core dumps
Updated version number
Modified the paint callback to avoid flicker in the on-screen keyboard