Several bugfixes. Addad "back" support in better way.