GUI cleanup + Movie recording function