Bugs fixed, added pointattribute management