code revise
fix opened dissapearing pile, wrong throw behaviour

fix bug: segfault when dissapearing pile is opened
restore screen pdcurses compatibility