Implemented introspection for function dispatch and invocation. Added sinusoidal history display.