fixed a console-related crash and added animation support