got to at least compile in mono. crashes alot.
fix mono crash when opening Options dialog
fix references after merge
fix mono crashes with icons on forms