used py2exe on CustomGrid, fixed a bug in Element