Clean up foothold code a bit.

Signed-off-by: Peter Atashian <retep998@gmail.com>