added frame skip in KSS and improved reset fund.
added mask routines for NRT

use SDLmain except win32.
renamed some functions