I don’t know about the programming aspect, but if your X-Carve is losing position then it could be due to improper belt tension, loose/tight V-wheels, or potentiometers that need adjusting. I’ve got videos for a couple of those at X-Carve Maintenance/Troubleshooting Videos - Add Your Own!.