various bug fixes

Fixes for some url regex matching, ui resizes (tabs still need to be
updated for scrolling when overflow), some bad event logic.

TODO
tons...