fixed display bug, successful malloc of data arrays achieved, having a problem with gpu memory thrashing?