fix #343: Error Trap does not work properly in Windows
fix #343: Error Trap does not work properly in Windows

pahihu/kona,kevinlawler/kona,igaray/kona,joebo/kona,joebo/kona,pahihu/kona,0branch/kona,igaray/kona,0branch/kona,0branch/kona,igaray/kona,joebo/kona,pahihu/kona,kevinlawler/kona