Some of the basic functions that will be needed. Comments in portal-monitor.c setting the basic plan for monitor.