use float instead of double
generator bugs
delete unneded
move some demos
fix text demo