The way to work on a Mac is not to bother minimising your open windows, just hit F11 (on my old Macbook, maybe another key on a new one) to Expose the windows away when you need something on the desktop.

Not used TextEdit, but I'm sure someone will be along to help you with that in a minute.
_________________________
Hussein