Added shared properties.
Fixed compilation warnings (mostly size_t->int, signed/unsigned conversions).
Removed null platform files.