hammered out better constants, theme index and init files now displayed, some bug fixing