library fixes and small adjustments
added settings to feature