make the recording window a sheet to fit nicer into the application. p.s. i don't like these code 'blocks'..