Optimised flash write, programming speed is now approx. 2x faster