Add console toolbar item. Implement NSWindowRestoration for console window