Add: improvements to terrain refining by using normal intead of height differences;
Add: a simple JPEG decoder from uJPEG (NanoJPEG variant);
Add: minor improvements to memory and reference count handling;