Makes sure whatever has been drawn is actually displayed.
You never need to call this function unless you have turned off autoFlush.
flush();