Tidy up operator <<(); move array part to varheap