Added geometry type selection control.
Draw geometry type can now be set by user.