Replaced deprecated or missing Python items
Fix missed wx.SystemSettings_GetColour references
Marked all variables that PyDev is warning as UnusedVariable or as
ReservedAssignment.
NOTE: Some of the warnings are incorrect