Bug 896243 - Clean up tpaint / twinopen code. r=Dolske