various glossary sorting/pageing fixes and a bit of loosening space