cleanup and improved camera fps