Updated bug in getCygwinPath. Added on ability to see last error before stackdump or process exiting without being in debug mode (for java comm obj)