Added dereferencing of variables and fixed a couple of bugs (all whitespace input & non-sense async input)