fix of indentation
some code style clean ups
added write protection hint for other libraries, fix library preferences.