Fixing compiler warnings in display
Fixing more compiler warnings