Added optional stack height checks.
Fixed travis error. Introduced deliberate stack problem.
Fixed deliberate error.