Cleaning old codes, fixing several bugs, rebuild under vs2010, adding supports for transparent objects