Fixed flush function.
Merge branch 'master' of https://github.com/ultralaserdeluxe/gloria