Got container guis working correctly

I've manage to fix the bugs with opening guis for blocks.

I also added a line to the bl_at file to make EntityPlayer.currentWindowId public. I've found I needed it in order to fix the problem of items getting deleted when you drop them.

PS. Sorry for the inconvenience with the previous PR. I'm trying to better explain my changes a bit better now.