Add possibility to control amount of stack frames collected by backtrace()
Adding optional collection of stack back traces to lock registration
Added documentation for new configuration options