Opening multiple files works

Fixed multiple file opens. Each file opens in its own seperate tab now!

Tab clicks however need to be fixed -.-