Added effects library
Updated sample styles
Minor libjpeg refactoring