Updated library paths.
Added screen orientation corrections.