Windows publisher code tidying post internal code review (unused using statements, unused method, dodgy lock implementation and inconsistent attribute ordering).