bugfix in context.cpp & more decompression

 - (bugfix) signal_d3d_map now takes its com_ptr by value
 - decompression code in main.cpp is better
 - mapping a texture requires dynamic, but its failing??