cleaner Makefile
remove some globals
custom _select for checking /dev/urandom (avoid conflicts with sockets)
changes for web