PURPOSE: This phase I trial is studying the side effects of vaccine therapy and GM-CSF in treating patients with acute myeloid leukemia, myelodysplastic syndromes, non-small cell lung cancer, or mesothelioma.