Updated version number plus version headers in source.
Added some casts to eliminate inexact type warnings on compilation.