Check out the Palm at the Flying Scot Inc Store. This is a method that works well for keeping the main away from the corners, the rudder, and even an outboard left in place. You can also find several posts here on the forum if you look through older posts that have a complete description of the Palm.
You can also get a short extension cable for where the main connects to the rudder which is pulled forward with a bungee that runs along the tiller. Again, supplied by FS Inc.
Marty