More bug fixes and adding support for MySql stored procedures