refactor livdb_magic to remove exec statements and fix spelling errors (currently kinda broken), #382 
refactor livdb_magic to remove exec statements and fix spelling errors (currently kinda broken), #382 
lfairchild/PmagPy,lfairchild/PmagPy,lfairchild/PmagPy