Election deadlines approach for voters and candidates