devcode backup

fixed some shadow-mode silliness