Removed dependency of monitor on options.

Changed monitor_alloc() to take various parameters in place of options.