added debug output for local frame alignment
attempt to add collision but doesn't seem to be working
modified the exp/log maps but doesn't seem to work