custom cell renderer and main window