grievously bad typecasting bugs with power profile management; added '@profile save' and '@profile delete'