fixed submit input; css cleanup, need to check for locked before returning next record