Fixed tab visuals
Added message for preview if no file selected.
Fixed bug where code could be run in browser