Fixed memdump functionalty: changed default dump behavior