Added semaphores to TrackCollection to control lambda execution, added
experimental usage of lambdas inside BaseSqlTableModel. Lots of
rewrights ahead.