definition of plist value types
whitespace cleanup
replace uses of math functions with efficient integer code