during the year , krane wrote off huge chunks of research and development , shifted unusually large sums of money into legal reserves , borrowed heavily on its credit lines , stifled sales by sabotaging production , bloated expenses , sold two profitable divisions , and managed to alienate many of its customers .