added update function to header;
added macro for element destruction;
disabled editor;
added animated sprites;