Added sayl, fixed a few bugs and cleaned up code. Performance still poor.