Large update, work in progress

It seems to work fine in paused mode now. I still need to add some
css entries, and the big work left is making the actual game work.