Wrote custom Qt array class
Sorted out minor problems