bebob, fireworks: increment/decrement reference counter for unit
bebob: improve the way to parse stream information
oxfw: improve according to checkpatch.pl's advices
fireworks: fix forgetting to release lock