Video overlay sized with close options and some code cleanup