fix write param setting for tao
make toc.c compile without any internal headers

indices!
close disc/session/track
do something about mediacatalog

libburn_progress  some kind of buffering info?
clean up global namespace

implement blank cancel (all functions should 0 cancel themselves), cancel needs a mutex

get rid of mdata
shit will break on the NULL entry in a pregap track...
messages and errors

read_disc needs work
track data formats that don't suck
change the data conversion funcs to accept 2 bitfields, one of supplied data, one of required data?
 (how does this work for mode1 vs mode 2?)

something should buffer - output packets should be buffered before it's sent to the drive (more than just the single 64k buffer)

must handle tracks (audio and data) that don't end on 2352 boundaries...

----
bugs:

trying to burn to a non burner is providing dumb errors
(insert blank, etc)

pregap missing
wrong control byte for 0xA* tracks

+0xA0 in sector headers in lead in
start negative LBA in lead in (so 0 is last sector of lead-in)

when sao, session format in the write params page is important

must eat last subcode block on read! (it's from lead-out)

sector_identify

read_sectors is fucked

virtual drive
  toc probe should somehow read a meta file?
