Dev alex

@txels:

Deals with two issues (#60 and #62) and a third that I came across but didn't raise an issue for (namely memory leakage).