Some small fixes

Fixed building & (*) showing in tabs for read-only buffers