use the MsTimer2 lib and some other fixes (eg. casting int to float before calculating; spelling; ...)