Fixed conditional appearances

fixed a bug regarding conditional appearances
applied bug fix to josh in ch2+3 and the trapdoor in ch3+4 [#474]
[ch4]fixed xml-bartender bug