It's still a work in progress, hence the lack of comments I typically put in my code. But considering how much stuff I have going on this month (and the fact I'll be gone til next year) I thought I'd share what I had so far.
Press the tilde (to the left of the number 1 key) to activate the inventory screen. Spacekey will create a random item and place it "in-hand". You can put it onto either side of the inventory, but each side is managed independently. I plan to improve that. Green means the item is safe to place, red means it either doesn't fit or another item is in its way. On the left-side of the inventory, you can pick up already placed items and move them elsewhere. Keys and scrolls can be stacked.