m_tline Minor improvements

- Replace floats with integers
- Use size() instead of counting elements
- Use WriteNotice()