V0.3.1

A lot of issues fixed, specially for iOS and small enhancements.