manually merged from branch mem_investigation
manually merged from branch mem_investigation
fixed few issues
added debug messages
ref
debug nessages
ref
ref
added write file with chunks
more GTC.start
complete
changed loops to use enumerators
changed back as in master
updated as in master
not necessary (indexing is done during monitoring)
fixed statble state to be static
changed all locations to iterators
small fix
small fix
Fixes of code review and typos