license added to header and sample code bug fix for better rendering on iPhone 5 devices