output-stdin module now compiles. Fixed a minor error in main.c and added a delay.