JSON Parsing rewritten to GJSON for API 10 support.
Better handling for orientation change.