added flush()'s to all drawing