Temporary input code (not yet relying on ll_input) and various compile-time fixes related to renaming during the previous commit.