Lots of stuff

Main changes:

* Now when finishing recording, the result will run automatically on a
new tab
* Improved script injection performance, load scripts only when needed