Only do layout things if ready, fix to path

Can only resize the file manager if ICEcoder is ready
Need a selectedFiles[0] in order to prefix to filePath
If we add a new file to the root, we end up with a ||[NEW], so replace
|| with | to fix this
Can only set tab widths if ICEcoder is ready
Update file to match main JS
If we have no fileLoc, show /

This covers saving new files/save as in the root