Programming the macintosh user interface