There is a lot of code in these two files related to the hard limit of 6 renderers/viewers and their configurations (1 and 1, 3 and 3, etc). The number 6 appears frequently in magic number form. Maybe this is a sign of the forthcoming C++ apocalypse, or perhaps just sloppy coding. Let's clean it up and make it easier to fix bugs like (insert issue number for the blank first renderer bug here).
There is a lot of code in these two files related to the hard limit of 6 renderers/viewers and their configurations (1 and 1, 3 and 3, etc). The number 6 appears frequently in magic number form. Maybe this is a sign of the forthcoming C++ apocalypse, or perhaps just sloppy coding. Let's clean it up and make it easier to fix bugs like (insert issue number for the blank first renderer bug here).