fixed a couple of strict compiler errors
added option to preserve shadow on UINavigationBar