work on live resizing - to be finished later
need to obtain correct EmacsView for given NSWindow
fix toolbar toggle button under 10.6
Reported by Mark McCann