It seems like there's a lot of repetition here; can we keep it DRY by moving a lot of this above the "if" statement, and doing things like:
`EnableWindow(GetDlgItem(hwnd,ID_START_BUTTON), !SERVERISRUNNING);`
`EnableWindow(GetDlgItem(hwnd,ID_STOP_BUTTON), SERVERISRUNNING);`

Also, the menu strings here are repeated many times around the code; this makes it hard to change the wording, and isn't as clean. How can we avoid repeating ourselves?