devcode backup

backing up some minor fixes. everything is still broken