smart-frame-positioning: create frames on other monitors
Use event's mouse position, if available, or mouse position
if last input event was not a keyboard event.  Otherwise,
open frames near the selected frame as before.
Fix 0x0 bad graphics context error
when starting Aquamacs from console