64/48/32-bit depth support many other changes
removed duplicate functions some bugs fixed, some bugs added some other changes, can't remember them all ;)