Cleanup election and startup code
Some fixes to the FloatEdit control