init commit
added freeze mesh function
general cleanup
small fixes
cleanup