If the nav menu exists, kill it and recreate it.

Also, I got rid of trailing whitespace everywhere.