cleared debugging output
more cleanup, plus added own routine for moves