Ensure foundation fires after document load, and small screen fixes.