removed unused code, and added plate_display flag again to prevent drawing of unused plates