Not exactly of hotbed of advanced programming techniques, but then again
Layers and such are dynamically allocated but based upon a limit. Haven't had time to go back and monkey with that. The limits become an issue for maybe one user a year, there is a workaround and there are always more pressing needs. If someone would like to help in converting arrays to lists (layers/symbols/styles and so on) it would be welcomed.