compiles; need to update Python GUI code and test
fixed some extension bugs