Remove unused code and properties
Ensure initial glyph segment
Remove uninitialized variable