Added 250ms delay to solve() calls, added more debugging features.