improved stroke-gedge code (bug fixes)