slight redesign, cross browser compatibility

A lot of it has changed, so please review and test before using. I sent a message on bitcointalk with more info.