fixed overlap checks, error page not yet fixed. sleep algorithm spacing still being debugged