Add a dumper for QStack. Also don't crash when accessing an uninitialized pointer when the pointer looks bad to begin with.