Foundations of Mathematics and other Logical Essays