Reverted back to previos state.
Changed the array functions into normal cairo functions again, made storm run a bit longer..