Some messing around with trying to optimize the update/render cycle