fix build on windows.

squashed commit of the following:

* graphix: import cstdlib to fix build
* graphix: use 'timeout' in windows
* makefile: add clobber option; dirtier than 'clean'
* add & use itoa specifically for windows (till c++0x is figured out for windows)
record: fix segfault? phew.

funny how I never 'saw' this one coming till dec '14.