Simplified message boxes.
Removed color handling since it was buggy. Also added a "spacePressed" check to prevent the messagebox from instantly disappearing if space is pressed.