Fixed context.stop() bug. Closes Issue #2.