Updated compiler and runtime to 2.2.0
Improvements to the media API