Perhaps I have already found the answer, but be better safe than sorry.
I bought an airplane ticket to my home country (in Europe) and only now I realized that my H1b visa expires 2 days after my return ticket back to the US. Will I be admitted back in US without any problems? Will this affect my i-94 duration of stay somehow?
Also, my green card case has been current for a year, but I haven't filed i-485. Plan to do this once I return.