More Nimbus 64-bit support

This introduces some changes to facilitate safe CGFloat operations and other 64-bit safety changes.