Crop bug for x == 0
Adding local tunnel support