Minor bug fixes: checks if stack calls were made.