Added a find-custom macro to tailq
Static list is moved over to Linux queue
Cleaned up code a bit
And some more
Fixed use of uninitialised value
Removed some debug output