MAVLauncher: Options page now working. Srcipt generation code refactored