rbynaker
Level 13

Spend some time getting familiar with IRS Pub 17.  Chapter 10 might be helpful for your first question and Chapter 3 has a lot of useful information for your second question.