Nicer gradient drawing functions, recording buttons tweaks, simple animation test