main: Set the maximum layers supported to 16, we technically support more than 16, but things get out of hand if multiple clients are running and all are using max layers.