Added rendering flags in xaml
Added thickness parameter to Initialize method
Removed unused code