Added tags to some gui buttons
Sometimes not all defined structures are contoured. This fix prevent bugs connected with this. Structures checkbox names were renamed in gui.
A few functions renamed
added functions for moments calculations
fixed names conflics