Reorganized, documented color functions, addPane, etc.