renamed Stack.__repr__ to format
added settings.events
reimplemented task events logging
reimplemented Task.meta_format logic