Fixed error message on return for empty stack. Added return for bool.