Topics in inflation and eternal inflation