Fixed Type Warnings

formatted the code and added types to combo boxes and lists, along with
organising the imports.