FInished accept button and fixed some buggs.