Fixed a bug when no page argument is provided. Also added display of full exception stack on error.